<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

return new class extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::create('yikao_special_detail', function (Blueprint $table) {
            $table->id();
            $table->json('action_special')->nullable();
            $table->string('action_type')->nullable();
            $table->string('bxtj_myd')->nullable();
            $table->integer('bxtj_myd_vote_num')->default(0);
            $table->string('celebrity')->nullable();
            $table->string('code')->nullable();
            $table->string('content')->nullable();
            $table->string('continue_exp')->nullable();
            $table->string('course')->nullable();
            $table->string('degree')->nullable();
            $table->string('direction')->nullable();
            $table->string('do_what')->nullable();
            $table->string('e_status')->nullable();
            $table->json('heat')->nullable();
            $table->json('impress')->nullable();
            $table->string('is_cancel')->nullable();
            $table->string('is_what')->nullable();
            $table->string('job')->nullable();
            $table->string('jobbsgs')->nullable();
            $table->string('jobdetail')->nullable();
            $table->json('jobrate')->nullable();
            $table->string('jxzl_myd')->nullable();
            $table->integer('jxzl_myd_vote_num')->default(0);
            $table->string('jy_myd')->nullable();
            $table->integer('jy_myd_vote_num')->default(0);
            $table->string('learn_what')->nullable();
            $table->string('level1')->nullable();
            $table->string('level1_name')->nullable();
            $table->string('level2')->nullable();
            $table->string('level3')->nullable();
            $table->string('limit_year')->nullable();
            $table->string('mostemployedeposition')->nullable();
            $table->string('mostemploymentarea')->nullable();
            $table->string('mostemploymentindustry')->nullable();
            $table->string('name')->nullable();
            $table->json('professionalsalary')->nullable();
            $table->string('rate')->nullable();
            $table->string('rate2')->nullable();
            $table->string('salaryavg')->nullable();
            $table->string('samename')->nullable();
            $table->string('samenamearr')->nullable();
            $table->string('sel_adv')->nullable();
            $table->string('senior_status')->nullable();
            $table->string('skill')->nullable();
            $table->json('specialschool')->nullable();
            $table->string('status')->nullable();
            $table->string('tag')->nullable();
            $table->string('type')->nullable();
            $table->string('type_detail')->nullable();
            $table->json('video')->nullable();
            $table->integer('xyq_id')->nullable();
            $table->string('zh_myd')->nullable();
            $table->integer('zh_myd_vote_num')->default(0);
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::dropIfExists('yikao_special_detail');
    }
};
